package com.twu.biblioteca;

import java.util.Collection;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: aulme
 * Date: 05/07/2013
 * Time: 14:01
 * To change this template use File | Settings | File Templates.
 */
public class HardcodedMovieRepository implements MovieRepository {
    private List<Movie> movies;

    public HardcodedMovieRepository(List<Movie> movies) {
        this.movies = movies;
    }

    @Override
    public Collection<Movie> getAll() {
        return this.movies;
    }
}
